/**
 * Issue severity timeline domain class.
 */
class IssueSeverityTimeline extends Timeline {
    IssueSeverity severity

    static belongsTo = [issue: Issue]

    static constraints = {
        severity(blank: false)
    }

    public String toString() {
        return "$severity - ($user, $fromDate-$toDate)"
    }
}
